<!DOCTYPE html>
<!--suppress ALL-->
<html lang="en" xmlns:th="http://www.thymeleaf.org">
    <head>
        <meta charset="UTF-8">
        <title>登录</title>
        <!--设置ico图标-->
        <link rel="shortcut icon" href="favicon.ico" th:href="@{/favicon.ico}">
        <link rel="stylesheet" type="text/css" href="css/login.css" th:href="@{/css/login.css}">
    </head>
    <body>
        <form class="login_form" th:action="@{/hello/login}" method="post">
            <div class="head">
                <h1>x x 登 录</h1>
            </div>
            <div class="content">
                <input type="text" name="userName" placeholder="账号" autofocus>
                <br>
                <input type="password" name="password" placeholder="密码">
                <br>
                <button type="submit">登 录</button>
            </div>
            <div class="footer">
                <p style="color: red" th:text="${msg}" th:if="${not #strings.isEmpty(msg)}">错误提示</p>
            </div>
        </form>
    </body>
</html>